import TTabs from './TTabs.vue'
import TTabsItem from './TTabsItem.vue'
import TTabsTitle from './TTabsTitle.vue'
import { InstallApp } from '../installApp'
import type { App } from 'vue'

TTabs.install = (app: App): void => {
  app.component('TTabs', TTabs)
}

TTabsItem.install = (app: App): void => {
  app.component('TTabsItem', TTabsItem)
}

TTabsTitle.install = (app: App): void => {
  app.component('TTabsTitle', TTabsTitle)
}

export default {
  TTabs: InstallApp(TTabs),
  TTabsItem: InstallApp(TTabsItem),
  TTabsTitle: InstallApp(TTabsTitle)
}
